package org.jimmy.tang.ws.axis2.rest;

/**
 * @author jimmy
 * 
 */
public class Salary {

    /**
     * 
     * @param name
     * @return
     */
    public final int getSalary(String name) {
        if (name.equals("zhangsan")) {
            return 3000;
        } else if (name.equals("lisi")) {
            return 4000;
        } else {
            return 5000;
        }
    }
}
